package hclfns

import "github.com/ihaiker/tfwrapper/internal/errors"

func getStack(options *FunctionOptions) (string, error) {
	if options.Stack == "" {
		return "", errors.New("unconfirmed stack")
	}
	return options.Stack, nil
}
